/* Test var scope and tabs */
object test1 {
  def main():Unit = { 
    //println(new class1().initMyVar(6));
    //println(new class1().getBool(false,true));
    println(new class1().getString());
  }
}

class class1 {
  var myVar:Int;
  var myTab:Int[];
  
  def initMyVar(myVar2:Int):Int = {
    var num : Int;
    myVar = myVar2;
    num=10;
    
    return myVar+num;
  }
  
  def getBool(myBool:Bool,myBool2:Bool):Bool = {
    return myBool2;
  }
  
  def getString():String = {
    return "hello";
  }
  
  /*
  def initTab():Int = {
    myTab = new Int[3];
    myTab[0] = 0;
    
    return 0;
  }*/
}